<div class="modal-dialog">
  <div class="modal-content">
    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
      <h4 class="modal-title">提现详情</h4>
    </div>
    <div class="modal-body">
      <div class="table-responsive">
        <table class="table table-cmcm">
          <tr>
            <th>提现信息</th>
            <th></th>
          </tr>
          <tr>
            <td>提现金额</td>
            <td class="transaction_id">{$log.total_amount}</td>
          </tr>
          <tr>
            <td>提现比率</td>
            <td class="order_id">{$log.rate}</td>
          </tr>
          <tr>
            <td>实际金额</td>
            <td class="order_id">{$log.amount}</td>
          </tr>
          <tr>
            <td>提现方式</td>
            <td class="order_id">{$log.pay_types_str}</td>
          </tr>
          <tr>
            <td>提现时间</td>
            <td class="order_id">{$log.created_at}</td>
          </tr>
          <tr>
            <td>打款时间</td>
            <td class="order_id">{$log.payed_at}</td>
          </tr>
          <tr>
            <th>商铺信息</th>
            <th></th>
          </tr>
          <tr>
            <td>商铺名称</td>
            <td class="order_id">{$shop.name}</td>
          </tr>
          <tr>
            <td>手机号</td>
            <td class="order_id">{$shop.phone}</td>
          </tr>
          <if condition="$log.pay_types eq 1">
            <tr>
              <td>微信提现帐号</td>
              <td class="order_id">{$shop.wxpay_account}</td>
            </tr>
            <else />
            <tr>
              <td>支付宝帐号</td>
              <td class="order_id">{$shop.alipay_account}</td>
            </tr>
            <tr>
              <td>支付宝姓名</td>
              <td class="order_id">{$shop.alipay_name}</td>
            </tr>
          </if>
          <if condition="$log.pay_types eq 1 && $log.status eq 3">
            <tr>
              <th>打款信息</th>
              <th></th>
            </tr>
            <tr>
              <td>打款交易号</td>
              <td class="order_id">{$log.tran_no}</td>
            </tr>
            <tr>
              <td>微信交易号</td>
              <td class="order_id">{$log.payment_no}</td>
            </tr>
          </if>
          <if condition="$log.status eq 4">
            <tr>
              <th>拒绝退款</th>
              <th></th>
            </tr>
            <tr>
              <td>拒绝理由</td>
              <td class="order_id">{$log.reject_reason}</td>
            </tr>
          </if>
        </table>

      </div>
    </div>
  </div>